const express = require("express");
const router = express.Router();
const {
	createUser,
	getUsers,
	searchUserInfo,
	getOpenid
} = require("../controllers/users");
router.route("/").post(createUser).get(getUsers);
router.post("/info", searchUserInfo);
router.get("/openid", getOpenid);
module.exports = router;
